#ifndef DISPLAY_CONFIG_H
#define DISPLAY_CONFIG_H

// Central display configuration for the project. Override these via build flags
// or in this file to match your physical panel.

#ifndef DISPLAY_WIDTH
#define DISPLAY_WIDTH 128
#endif

#ifndef DISPLAY_HEIGHT
#define DISPLAY_HEIGHT 64
#endif

#ifndef NUM_SCAN
#define NUM_SCAN (DISPLAY_HEIGHT / 2)
#endif

// =================== 引脚定义 ===================
// 引脚顺序不可更改，因其直接对应GPIO寄存器位
#define PIN_CLK 13
#define PIN_LE 27
#define PIN_OE 5
#define PIN_A 21
#define PIN_B 22
#define PIN_C 23
#define PIN_D 25
#define PIN_E 26
#define PIN_R1 14
#define PIN_G1 15
#define PIN_B1 16
#define PIN_R2 17
#define PIN_G2 18
#define PIN_B2 19

#endif // DISPLAY_CONFIG_H
